import { getCatGoryList } from '@/api'
const state = {
    cateGoryList: []
}
const mutations = {
    setCateGoryList(state, payload) {
        state.cateGoryList = payload.List
    }
}
const actions = {
    async getCatGoryListStore({ commit }) {
        let re = await getCatGoryList()
        commit('setCateGoryList', { List: re })
    }
}
const getters = {}

export default {
    namespaced: true,
    state,
    mutations,
    actions,
    getters,

}